package net.jblog.business.facade.impl;

import net.jblog.business.dao.AdministratorUserDao;
import net.jblog.business.facade.AdministratorUserFacade;
import net.jblog.data.model.AdministratorUser;

public class AdministratorUserFacadeImpl implements AdministratorUserFacade {

	private AdministratorUserDao administratorUSerDao;
	
	@Override
	public void persist(AdministratorUser entity) {
		getAdministratorUSerDao().persist(entity);
	}
	
	@Override
	public AdministratorUser findByEmailPassword(String email, String password) {
		return (AdministratorUser)getAdministratorUSerDao().findByEmailPassword(email, password);
	}
	
	
	

	public AdministratorUserDao getAdministratorUSerDao() {
		return administratorUSerDao;
	}

	public void setAdministratorUSerDao(AdministratorUserDao administratorUSerDao) {
		this.administratorUSerDao = administratorUSerDao;
	}

	

	

}
